<!DOCTYPE html>
<html>
<head lang="en">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/>
    <meta name = "format-detection" content="telephone = no" />
    <META HTTP-EQUIV="pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate">
    <META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
    <META HTTP-EQUIV="expires" CONTENT="0">
    <meta charset="UTF-8">
    <link rel="shortcut icon" href="img/smlogo.png" type="image/x-icon">
    <title>铺路</title>
    <meta name="keywords" content="铺路,铺路经验,铺路网,pulu,PULU,Pulu,付费经验,付费问答,铺路问答">
    <meta name="description" content="铺路科技，概念来源于“走的人多了就成了路”。公司短期目标，提供更便利的“分享”平台，提升每个人的信息利用效率；长期目标，通过互联网改良社会运行模式。">
    <script>
        if(top.location.href!==location.href){top.location.href="http://www.pulu.com/weixin/pulu.html";};
    </script>
    <script src="https://www.pulu.com/weixin/js/jquery-1.11.3.min.js"></script>
    <script src="https://www.pulu.com/weixin/js/jquery.cookie.js"></script>
    <script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script>
        //http://www.pulu.com/weixin/pulu.html#clear 菜单栏
        function is_weixn(){
            var ua = navigator.userAgent.toLowerCase();
            if(ua.match(/MicroMessenger/i)=="micromessenger") {return true;} else {return false;}
        }
        if(is_weixn()){
            if(/https/.test(location.href)){
                location.href="http://www.pulu.com/weixin/pulu.html";
            }
            if(!$.cookie("MYID")||!/[0-9]/.test($.cookie("MYID"))){
                var returnurl=encodeURIComponent("http://www.pulu.com/weixin/puluLow.html");
                var reg=new RegExp("code=[a-zA-Z0-9]*");
                if(window.location.href.match(reg)&&$.cookie("wx")=="over"){
                    var code=window.location.href.match(reg);
                    $.ajax({
                        type:"GET",
                        url:"GetOpenId.ashx?"+code,
                        async: false,
                        success:function(data){
                            var dat=data;
                            $.cookie("wxod",dat);
                            $.cookie("wxopenid",dat);
                            $.ajax({
                                type:"GET",
                                url:"https://www.pulu.com/webapi/api/WebChatInfo/GetByOpenId?openId="+dat,
                                success:function(d){
                                    if(!d.Data||!d.Data.userId){
                                        if(!$.cookie("MYID")||$.cookie("MYID").length<10){
                                            $.cookie("wxopenid",dat);
                                            location.href="http://www.pulu.com/weixin/login.html"
                                        }
                                    }else if(d.Data&&d.Data.userId.length>0){
                                        $.cookie("wxopenid",d.Data.openId);
                                        $.cookie("MYID",d.Data.userId);
                                        $.cookie("MYAVA",d.Data.userAva);
                                        $.cookie("MYNICK",d.Data.userNick);
                                        $.cookie("puluscrollTop","");
                                        $.cookie("pulucurrentIndex","");
                                        location.href="http://www.pulu.com/weixin/pulu.html";
                                    }
                                }
                            })
                        }
                    })
                }
                else{
                    $.cookie("wx","over");
                    location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx658c34793ecfd9f9&redirect_uri="+returnurl+"&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect";
                }
            }
        }
    </script>
    <link rel="stylesheet" href="https://www.pulu.com/weixin/css/index2.css"/>
    <link rel="stylesheet" href="https://www.pulu.com/weixin/css/puluindex.css"/>
    <script src="https://webapi.amap.com/maps?v=1.3&key=705b321a69c641906ee1a125e5350ca2"></script>
    <style>
        html{overflow-x: hidden }
        [id^="choiceSendType"]{
            display:none;
            position:fixed;
            z-index:999;
            background:rgba(0,0,0,0.75);
            top:0;
            bottom:0;
            width:100%;
            max-width:1000px;
        }
        [id^="choiceSendType"]>div{
            position:relative;
            width:100%;
            height:100%;
        }
        [id^="choiceSendType"] .box{
            position:absolute;
            top:50%;
            left:50%;
            background: #fff;
            width:100%;
            max-width: 300px;
            margin:0 auto;
            border-radius:2px;
            transform: translate(-50%,-50%);
            -webkit-transform: translate(-50%,-50%);
            -moz-transform: translate(-50%,-50%);
            -ms-transform:translate(-50%,-50%);
            -o-transform: translate(-50%,-50%);
        }
        [id^="choiceSendType"] .box>div{
            padding: 12px 0;
            color: #333;
            text-align: center;
            line-height: 1.4;
            height:initial;
            font-size: 15px;
            border-bottom: 1px solid #e2e2e2;
        }
        [id^="choiceSendType"] .box>div:not(:first-child){cursor:pointer;color: #B92B27;}
        [id^="choiceSendType"] .box>div:last-child{border-bottom:none;}
        #sendbtn span b{top:-12px;}
        .PuluTitle{cursor:pointer;}

        div.quick{
            padding:0;
            height:75px;
        }
        div.quick>div:first-child>div a.ReadMoreActionItem{color:#fff;}
        div.quick>div:last-child>a.ReadMoreActionItem{color:#B1B1B1;}

        div.quick>div:first-child{display:none;}
        div.quick>div:last-child{
            margin-right:0;
            height:auto;
            line-height: initial;
            text-align: center;
            background:#FC4848;
            color:#fff;
            border:1px solid #FE1A1A;
        }
        div.quick{height:auto;}
        div.quick>div:last-child>a.ReadMoreActionItem{color:#fff;}

        #goQue2{
            padding-left: 20px;
            color: #B92B27;
            background: url("img/titleLogo_queR.png") no-repeat;
            background-size: 16px;
        }
        #choiceSendType1 .box{
            overflow: hidden;
        }
        #choiceSendType1 .box>.option{
            width:50%;
            color: #B92B27;
            float:left;
        }
        #choiceSendType1 .listbox{
            padding-left:10px;
            padding-right:10px;
            padding-top:0;
        }
        #choiceSendType1 .listbox .place{
            overflow: hidden;
            margin-bottom:5px;
            border-radius:2px;
        }
        #choiceSendType1 .listbox .place:first-child{
            background:#FFCCCC;
        }
        #choiceSendType1 .listbox .place:nth-child(2){
            background: #FFCC99;
        }
        #choiceSendType1 .listbox .place:nth-child(3){
            background: #FFCC66;
        }
        #choiceSendType1 .listbox .place:nth-child(4){
            background: #FFCCFF;
        }
        #choiceSendType1 .listbox .place:nth-child(5){
            background: #FFFF99;
        }
        #choiceSendType1 .listbox .place .option{
            width:50%;
            float:left;
            color:#B92B27;
        }

        h1>span.rt{
            color: #fff;
            border-radius: 4px;
            padding: 3px;
            font-size: 12px;
            background: #598abf;
        }
    </style>
    <link rel="stylesheet" href="https://www.pulu.com/weixin/css/newStyle01.css"/>

    <style>
        #puluindex .ContentHeader.hidden{display:none;}
        /*#puluindex .photo_info_layout.size_small .photo_wrapper{display:none;}*/
        /*#puluindex .ContentHeader .feed_item_answer_user{margin-bottom:0;}*/
        /*#puluindex .ContentHeader .feed_item_answer_user .user{display:none;}*/
        /*#puluindex .feed_item .ContentFooter{display:none;}*/
        /*#puluindex .feed_item .ContentHeader{min-height:inherit;margin-top:7px;}*/
        /*#puluindex h1.niming{margin-right:35px;}*/
    </style>
    <style>
        .newKeyWord{ display: inline-block;}
        .feed_item a.question_link{
            display: -webkit-box;
            -webkit-box-orient: vertical;
            text-overflow: ellipsis;
            overflow: hidden;
            -webkit-line-clamp: 2;
            word-break: break-all;
        }
        #canNotSend{
            display:none;
            position:fixed;
            z-index: 9999;
            top:0;
            bottom:0;
            left:0;
            max-width: 1000px;
            width:100%;
            margin:0 auto;
            background: rgba(0,0,0,0.75);
        }
        #canNotSend>.box{
            width:100%;
            height:100%;
            position:relative;
        }
        #canNotSend>.box>.model{
            position:absolute;
            top:50%;
            left:50%;
            -webkit-transform: translate(-50%, -50%);
            -moz-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            -o-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
            width:300px;
            height:220px;
            border-radius: 4px;
            background: #fff;
        }
        #canNotSend>.box>.model>div{
            position:relative;
            height: 100%;
            padding: 15px;
            box-sizing: border-box;
        }
        #canNotSend .closeBtn{
            position: absolute;
            right:10px;
            top:10px;
            color:#999;
            width: 20px;
            height: 20px;
            font-size: 35px;
            line-height: 20px;
        }
        #canNotSend .titleImg{
            text-align: center;
            margin-top: 10px;
            margin-bottom: 10px;
        }
        #canNotSend .titleImg img{
            width:50px;
            height:50px;
        }
        #canNotSend p{
            text-indent: 10px;
            color: #999;
            font-size: 15px;
            height: 53px;
            line-height: 28px;
            margin-bottom: 28px;
        }
        #canNotSend button{
            border:none;
            border-radius: 5px;
            text-align: center;
            line-height: 40px;
            width:270px;
            height:40px;
            color:#fff;
            background: #f00;
            font-size: 16px;
            font-weight: bold;
        }

        .titleSendBtn{
            position:absolute;
            top: 13px;
            width: 76px;
            height: 30px;
            text-align: center;
            font-size:16px;
        }
        #goQue,#goExp{cursor:pointer;}
        #goQue{  left:5px;  }
        #goExp{  right:5px;  }

        .feed_item .ContentFooter{  display:none;  }
    </style>
</head>
<body id="puluindex">

<div class="Header">
    <div class="fixed_header">
        <div class="header_main">
            <a class="titleSendBtn" id="goQue">发布悬赏</a>
            <a class="titleSendBtn" id="goExp">分享经验</a>
            <div class="page_title" id="page_title">
                <div>
                    <span id="PuluTitleType" class="allType">
                    </span><span class="PuluTitle"></span>
                </div>
            </div>
        </div>
        <ul class="header_nav">
            <li class="HeaderNavItem OpenQsNavItem">
                <a class="goPuluUp">
                    <div class="label"><span style="position:relative;">高层<i></i></span></div>
                </a>
            </li>
            <li class="NotifsNavItem HeaderNavItem" id="choicetype">
                <a>
                    <div class="label">
                        <span id="labeltypename" style="position:relative;color:#b92b27;">
                            <i class="sjType"><b></b>同层</i>
                            <div class="toparr"></div>
                            <div id="typelist">
                                <ul>
                                    <li class="typelist active" id="sjType" data-name="时间"><span id="sjType1"></span><span id="sjType2">时间</span></li>
                                    <li class="typelist" id="fjType" data-name="位置"><span id="fjType1"></span><span id="fjType2">位置</span></li>
                                    <li class="typelist" id="llType" data-name="浏览量">
                                        <span id="llType1"></span>
                                        <span id="llType2">浏览量</span>
                                    </li>
                                    <li class="typelist" id="zfType" data-name="转发量">
                                        <span id="zfType1"></span>
                                        <span id="zfType2">转发量</span>
                                    </li>
                                </ul>
                            </div>

                        </span>
                        <i class="typearr"></i>
                    </div>
                </a>

            </li>
            <li class="HeaderNavItem HomeNavItem" id="gosubsc">
                <a>
                    <div class="label"><span style="position:relative;">资讯<i></i></span></div>
                </a>
            </li>
            <li class="ProfileNavItem HeaderNavItem" id="gomy">
                <a>
                    <p id="newnotenotice" style="display: none;"></p>
                    <div class="label">我</div>
                </a>
            </li>
        </ul>
    </div>
</div>

<div id="page_wrapper" class="wrapper home_feed">
    <div class="SimpleToggle Toggle HomeMainFeed" id="mainbody">

        <div class="addlistplace"></div>

        <div id="pleasewait1">
            <div class="waitbox">
                <div id="waiting1">加载中...</div>
                <div id="nonews1" style="display:none">没有更多信息</div>
                <div id="nonews" style="display:none">定位失败</div>
            </div>
        </div>
    </div>
</div>

<div id="delmynews" class="action_menu_container ModelForm" style="display:none;">
    <div class="inner">
        <div class="ModelFormBody" id="delmynewsform">
            <div class="action_menu">
                <a class="mweb_action_button">提醒</a>
            </div>
            <div class="action_menu">
                <a class="mweb_action_button">是否删除此新闻？</a>
            </div>
            <div class="action_menu">
                <div class="rt" id="delmynewsok">确定</div>
                <div id="delmynewscancel">取消</div>
            </div>
        </div>
    </div>
</div>

<div id="threeFriend" class="action_menu_container ModelForm" style="display: none;">
    <div class="inner">
        <div class="ModelFormBody">
            <div class="action_menu">
                <a class="mweb_action_button">你已经点击<span id="threeFriendNick">TA</span>的pulu3次，是否发送好友请求？</a>
            </div>
            <div class="action_menu">
                <div class="rt" id="threeFriOk">确定</div>
                <div id="threeFriNo">取消</div>
            </div>
        </div>
    </div>
</div>

<div id="choiceSendType">
    <div>
        <div class="box">
            <div>请选择分享的资源类型类型</div>
            <div id="goSingleQ" class="option"><span id="goSingle2Q"></span>单身资源</div>
            <div id="goWork" class="option" style="display:none;"><span id="goWork2">工作介绍</span></div>
            <div id="goHouse" class="option" style="display:none;"><span id="goHouse2">租房买房</span></div>
            <div id="goProgectQ" class="option"><span id="goProgect2Q"></span>项目资源</div>
            <div id="goRes" class="option" style="display:none;"><span id="goRes2"></span>人脉资源</div>
            <div id="goOtherQ" class="option"><span id="goOther2Q"></span>其他资源</div>
        </div>
    </div>
</div>

<div id="canNotSend">
    <div class="box">
        <div class="model">
            <div>
                <div class="closeBtn">×</div>
                <div class="titleImg"><img src="img/u321.png"/></div>
                <p>根据国家相关法律规定，发布内容需要您<span style="color:#f00;">认证个人信息</span></p>
                <button onclick="goAuthenticate()">去认证</button>
            </div>
        </div>
    </div>
</div>

<script src="https://www.pulu.com/weixin/ftnjs/urlnote.js"></script>
<script src="https://www.pulu.com/weixin/ftnjs/codetofacejs.js"></script>
<script type="text/javascript" src="https://www.pulu.com/weixin/sdk/webim.config.js"></script>
<script src="https://www.pulu.com/weixin/sdk/strophe.js"></script>
<script src="https://www.pulu.com/weixin/sdk/websdk-1.1.2.js"></script>
<script src="https://www.pulu.com/weixin/ftnjs/sendfaceftn.js"></script>
<script src="https://www.pulu.com/weixin/ftnjs/commentFtn.js"></script>
<script src="https://www.pulu.com/weixin/js/testindex2.js"></script>
<script>
    var imId="";
    if($.cookie("MYID")){imId=$.cookie("MYID")};
    var conn = new WebIM.connection({
        https: WebIM.config.https,
        url: WebIM.config.xmppURL,
        isAutoLogin: WebIM.config.isAutoLogin,
        isMultiLoginSessions: WebIM.config.isMultiLoginSessions
    });
    var options = {
        apiUrl: WebIM.config.apiURL,
        user:imId,
        pwd:imId,
        appKey: "pulu#pulu"
    };
    conn.open(options);
    var havingnewsnow="no";
    var fromuserid;
    var stack=[];
    var messarrid=[];
    function next(){
        var fn=stack[0];
        if(typeof fn==="function")fn(messarrid[0]);
    }
    conn.listen({
        onPresence: function ( e ) {
            if ( e.type === 'subscribe'&&(e.status!="[resp:true]")){
                var mes={"type":e.type,"from":e.from,"status":e.status};
                messarrid.push(mes);
                function sendfriendnot(e){
                    if ( e.type === 'subscribe' ){
                        $.ajax({
                            type:"post",
                            url:savefriendnoteurl,
                            data:{"userId":id,"friendId":e.from,"msg":e.status},
                            success:function(d){
                                stack.shift();
                                messarrid.shift();
                                next();
                            }
                        });
                    }
                }
                stack.push(sendfriendnot);
                next();
            }
        },
        onOpened: function ( message ) {
            conn.setPresence();
            conn.getRoster({
                success: function ( roster ) {
                    for ( var i = 0, l = roster.length; i < l; i++ ) {
                        var ros = roster[i];
                        if ( ros.subscription === 'both' || ros.subscription === 'to' ) {
                        }
                    }
                },
                error:function(d){
                    console.log(d);
                }
            });
        }
    });
</script>
</body>
</html>